<template>
    <view class="content">
        <view class="item">
            <view class="info">
                <view class="item-info">
                    <image src="/static/icon/icon_01.png" class="icon-01"></image>
                    <view class="name">李同学</view>
                    <view class="male">男</view>
                    <view class="female">女</view>
                    <view class="age">12岁</view>
                </view>
                <view class="pay">未支付</view>
            </view>
            <view class="u-p-t-35">
                <view class="parent">
                    <view class="parent-l">
                        <image src="../../../static/del/37.png" class="avatar"></image>
                        <view class="u-flex-1">王先生</view>
                    </view>
                    <view class="time">2023-12-31 12:36:36</view>
                </view>
                <view class="u-p-t-20">
                    <view class="down">
                        <view>图片：</view>
                        <view class="img-box">
                            <image src="../../../static/del/15.png" class="img" v-for="(el, ind) in 4" :key="ind"></image>
                        </view>
                    </view>
                    <view class="down">
                        <view>报销金额：</view>
                        <view class="price">￥560</view>
                    </view>
                    <view class="down">
                        <view>报销描述：</view>
                        <view class="text">描述具体内容描述具体内容描述具体内容描述具体内容描述具体内容描述具体内容</view>
                    </view>
                </view>
            </view>
        </view>
        
        <view class="footer" @click="$gTo(`/serve/pages/fw-bx/fw-bx-create`)">创建</view>
    </view>
</template>

<script>
    export default {
        data() {
            return {
                
            };
        },
        onLoad() {
            
        },
        methods: {
            
        }
    };
</script>

<style lang="scss">
    
    page{
        background-color: #f5f5f5;
    }
    .content{
        padding: 20rpx 20rpx 100rpx;
    }
    .item{
        padding: 35rpx 25rpx;
        margin-bottom: 20rpx;
        background-color: #fff;
        border-radius: 15rpx;
    }
    .info{
        padding-bottom: 35rpx;
        border-bottom: 2rpx solid #e6e6e6;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .pay{
        font-size: 24rpx;
        color: #f62a2a;
        padding-left: 15rpx;
    }
    .item-info{
        flex: 1;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    .icon-01{
        width: 37rpx;
        height: 37rpx;
        margin-right: 15rpx;
    }
    .name{
        font-size: 32rpx;
        font-weight: bold;
        padding-right: 15rpx;
    }
    .male{
        width: 34rpx;
        height: 34rpx;
        border-radius: 5rpx;
        background-color: #edf6ff;
        font-size: 26rpx;
        color: #2d96fa;
        text-align: center;
        line-height: 34rpx;
    }
    .female{
        width: 34rpx;
        height: 34rpx;
        border-radius: 5rpx;
        background-color: #ffeeed;
        font-size: 26rpx;
        color: #ff5748;
        text-align: center;
        line-height: 34rpx;
    }
    .age{
        font-size: 26rpx;
        color: #727272;
        padding-left: 15rpx;
    }
    
    .parent{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .parent-l{
        flex: 1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 32rpx;
        font-weight: bold;
    }
    .avatar{
        width: 50rpx;
        height: 50rpx;
        border-radius: 15rpx;
        margin-right: 12rpx;
    }
    .time{
        font-size: 24rpx;
        color: #555558;
        font-weight: normal;
    }
    
    .down{
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 10rpx;
        font-size: 24rpx;
    }
    .img-box{
        flex: 1;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    .img{
        width: 130rpx;
        height: 130rpx;
        border-radius: 10rpx;
        margin-right: 10rpx;
    }
    .price{
        font-size: 28rpx;
        color: #f62a2a;
    }
    .text{
        flex: 1;
        white-space: pre-line;
        word-break: break-all;
    }
    
    .footer{
        width: 100vw;
        height: 92rpx;
        background-color: #f29700;
        font-size: 34rpx;
        color: #fff;
        text-align: center;
        line-height: 92rpx;
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 9;
    }

</style>
